package cz.cvut.vrtisja2.muchktom;

import java.util.ArrayList;

public class List {
	
	private ArrayList<Item> items;
	private String name;
	private Long id;
	
	
	
	
	/**
	 * Vlozi polozku do seznamu
	 * @param item
	 */
	public void addItem(Item item){
		this.items.add(item);		
	}
	
	
	/**************************getters & setters ************/
	
	public List(){
		items=new ArrayList<Item>();		
	}

	public ArrayList<Item> getItems() {
		return items;
	}

	public void setItems(ArrayList<Item> items) {
		this.items = items;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	
	
	
	
	

}
